package com.qpx.jxc.pay.alibaba.qrcode.config;


import com.qpx.jxc.pay.utils.PropertiesUtil;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;


public class AliQrPayConfig {

    public final static String RESOURCES = "config/alipay";
    public static final String url = PropertiesUtil.getValue(RESOURCES,"alipay.url");

    public static final String appid =  PropertiesUtil.getValue(RESOURCES,"alipay.appid");

    public static final  String privateKey = PropertiesUtil.getValue(RESOURCES,"alipay.privateKey");

    public static final String appCertPath = PropertiesUtil.getValue(RESOURCES,"alipay.appCertPath");

    public static final String alipayCertPath = PropertiesUtil.getValue(RESOURCES,"alipay.alipayCertPath");

    public static final String alipayRootCertPath = PropertiesUtil.getValue(RESOURCES,"alipay.alipayRootCertPath");

    public static  final String callBackUrl = PropertiesUtil.getValue(RESOURCES,"alipay.callBackUrl");


}
